package com.joven.shelltest.model;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author wzj
 * @Date 2023-08-10 14:53
 **/
public class JovenEvent extends ApplicationEvent {

    private static final long serialVersionUID = -5722252410627324256L;

    @Getter
    private  Mail mail;

    public JovenEvent(Object source) {super(source);}

    public JovenEvent(Object source,Mail mail) {
        super(source);
        this.mail = mail;
    }
}
